﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EnumerateListEx
{
    public class Todo
    {
        public string TodoText { get; set; }
        public DateTime Timestamp { get; set; }
        public int Id { get; set; }

        public Todo(string text, int id)
        {
            TodoText = text;
            Id = id;
            Timestamp = DateTime.Now;
        }

        public Todo()
        {

        }
    }
}
